# -*- mode: snippet; require-final-newline: nil -*-
# name: ngservice
# key: ngservice
# binding: direct-keybinding
# --

(function() {
    'use strict';

    angular
        .module('${1:module}')
        .service('${2:Service}', $2);

    /* @ngInject */
    function $2(${3:dependencies}) {
        this.${4:func} = $4;

        ////////////////

        function $4() {
        }
    }
})();
